package com.dzj.fishingcommunity.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 酷渔运动表类，用于表示酷渔运动的信息
 */
@Data
@Document(collection = "cool_fish_sport")
@Schema(description = "酷渔运动表类，用于表示酷渔运动的信息")
public class CoolFishSport {
    /**
     * 主键ID
     */
    @Id
    @Schema(description = "主键ID")
    private String id;

    /**
     * 区域名称
     */
    @Schema(description = "区域名称")
    private String areaName;

    /**
     * 纬度
     */
    @Schema(description = "纬度")
    private Double latitude;

    /**
     * 经度
     */
    @Schema(description = "经度")
    private Double longitude;

    /**
     * 是否可钓鱼
     */
    @Schema(description = "是否可钓鱼")
    private Boolean isFishable;

    /**
     * 审核状态
     */
    @Schema(description = "审核状态")
    private Integer reviewStatus;

    /**
     * 热度
     */
    @Schema(description = "热度")
    private Integer popularity;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createdAt;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private Date updatedAt;
}
